package com.teach;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.InputStream;

public class Test2 {

	public static void main(String[] args) {

		try {
			InputStream in = new FileInputStream(new File("a:/aa.txt"));
		} catch (FileNotFoundException e) {
			System.out.println("没有发现文件");
			e.printStackTrace();
		}
	}
}
